

#ifndef _SHELL_REQFIGHTSUCCEED_MESSAGE_H_
#define _SHELL_REQFIGHTSUCCEED_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqFightSucceedMessage : public Message
{
	public:
	ReqFightSucceedMessage();
	~ReqFightSucceedMessage();
	void reset();
	ReqFightSucceedMessage* clone();
	static const int _ID;
	//帮派id
	int64 gangId;
	//玩家id
	int64 playerId;
	//是否成功参与帮战0否1是
	int8 type;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
